Asynchronous data shift and backup between asymmetric data sources

ABSTRACT

Embodiments of the present invention provide a semiconductor storage device (SSD)-based storage system. Specifically, in a typical embodiment, the system comprises a SSD memory disk unit having (among other components) a memory controller and an asynchronous backup controller for providing asynchronous data shift and/or backup between multiple data storage units (e.g., a memory unit and a flash memory unit). The SSD memory disk unit further comprises a plurality of host interface units that communicate with a plurality of physical interface units of a device driver (e.g., on a one-to-one or one-to-multiple basis). The device driver also comprises a logical interface coupled to the plurality of physical interface units.

CROSS-REFERENCE TO RELATED APPLICATION

This application is related in some aspects to commonly-owned, co-pending application Ser. No. 12/758,937, entitled “SEMICONDUCTOR STORAGE DEVICE”, filed on Apr. 13, 2010, the entire contents of which are herein incorporated by reference. This application is related in some aspects to commonly-owned, co-pending application Ser. No. 13/229,957, entitled “SEMICONDUCTOR STORAGE DEVICE HAVING MULTIPLE HOST INTERFACE UNITS FOR INCREASED BANDWIDTH”, filed on Sep. 12, 2010, the entire contents of which are herein incorporated by reference.

FIELD OF THE INVENTION

The present invention relates to a semiconductor storage device (SSD) of a PCI-Express (PCI-e) type. Specifically, the present invention relates to an approach for providing asynchronous data shift and backup between asymmetric data sources.

BACKGROUND OF THE INVENTION

As the need for more computer storage grows, more efficient solutions are being sought. As is known, there are various hard disk solutions that store/read data in a mechanical manner as a data storage medium. Unfortunately, data processing speed associated with hard disks is often slow. Moreover, existing solutions still use interfaces that cannot catch up with the data processing speed of memory disks having high-speed data input/output performance as an interface between the data storage medium and the host. Therefore, there is a problem in the existing area in that the performance of the memory disk cannot be property utilized.

SUMMARY OF THE INVENTION

Embodiments of the present invention provide a semiconductor storage device (SSD)-based storage system. Specifically, in a typical embodiment, the system comprises a SSD memory disk unit having (among other components) a memory controller and an asynchronous backup controller for providing asynchronous data shift and/or backup between multiple data storage units (e.g., a memory unit and a flash memory unit). The SSD memory disk unit further comprises a plurality of host interface units that communicate with a plurality of physical interface units of a device driver (e.g., on a one-to-one or one-to-multiple basis). The device driver also comprises a logical interface coupled to the plurality of physical interface units.

A first aspect of the present invention provides a semiconductor storage device (SSD) memory disk unit, comprising: a host interface controller; a plurality of host interface units coupled to the host interface controller; a DMA controller coupled to the host interface unit; an ECC controller coupled to the DMA controller; a memory controller coupled to the ECC controller; an asynchronous backup controller coupled to the memory controller; and a memory array coupled to the memory controller, the memory array comprising at least one memory block.

A second aspect of the present invention provides a semiconductor storage device (SSD)-based system, comprising: a SSD memory disk unit comprising: a host interface controller; a plurality of host interface units coupled to the host interface controller; a DMA controller coupled to the host interface unit; an ECC controller coupled to the DMA controller; a memory controller coupled to the ECC controller; a memory array coupled to the memory controller, the memory array comprising at least one memory block; an asynchronous backup controller coupled to the memory controller; a flash memory unit coupled to the asynchronous backup controller, the flash memory unit comprising at least one flash memory block; a device driver comprising: a plurality of physical interface units; and a logical interface coupled to the plurality of physical interface units.

A third aspect of the present invention provides a method for forming a semiconductor storage device (SSD) memory disk unit, comprising: coupling a plurality of host interface units to a host interface controller; coupling a DMA controller to the host interface unit; coupling an ECC controller to the DMA controller; coupling a memory controller to the ECC controller; coupling an asynchronous backup controller to the memory controller; and coupling a memory array to the memory controller, the memory array comprising at least one memory block.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:

FIG. 1 is a diagram illustrating a configuration of a storage device of a PCI-Express (PCI-e) type according to an embodiment of the present invention.

FIG. 2A is a diagram of the high-speed SSD of FIG. 1 according to an embodiment of the present invention.

FIG. 2B is a diagram of the high-speed SSD of FIG. 1 as coupled to a device driver according to an embodiment of the present invention.

FIG. 3 is a diagram illustrating a configuration of a controller unit in FIG. 1 according to an embodiment of the present invention.

The drawings are not necessarily to scale. The drawings are merely schematic representations, not intended to portray specific parameters of the invention. The drawings are intended to depict only typical embodiments of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represents like elements.

DETAILED DESCRIPTION OF THE INVENTION

Exemplary embodiments will now be described more fully herein with reference to the accompanying drawings, in which exemplary embodiments are shown. This disclosure may, however, be embodied in many different forms and should not be construed as limited to the exemplary embodiments set forth therein. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete and will fully convey the scope of this disclosure to those skilled in the art. In the description, details of well-known features and techniques may be omitted to avoid unnecessarily obscuring the presented embodiments.

The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limited to this disclosure. As used herein, the singular forms “a”, “an”, and “the” are intended to include the plural forms as well, unless the context clearly indicates otherwise. Furthermore, the use of the terms “a”, “an”, etc., do not denote a limitation of quantity, but rather denote the presence of at least one of the referenced items. It will be further understood that the terms “comprises” and/or “comprising”, or “includes” and/or “including”, when used in this specification, specify the presence of stated features, regions, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, regions, integers, steps, operations, elements, components, and/or groups thereof. Moreover, as used herein, the term RAID means redundant array of independent disks (originally redundant array of inexpensive disks). In general, RAID technology is a way of storing the same data in different places (thus, redundantly) on multiple hard disks. By placing data on multiple disks, I/O (input/output) operations can overlap in a balanced way, improving performance. Since multiple disks increase the mean time between failures (MTBF), storing data redundantly also increases fault tolerance.

Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning that is consistent with their meaning in the context of the relevant art and the present disclosure, and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.

Hereinafter, a storage device of a PCI-Express (PCI-e) type according to an embodiment will be described in detail with reference to the accompanying drawings.

Embodiments of the present invention provide a semiconductor storage device (SSD)-based storage system. Specifically, in a typical embodiment, the system comprises a SSD memory disk unit having (among other components) a memory controller and an asynchronous backup controller for providing asynchronous data shift and/or backup between multiple data storage units (e.g., a memory unit and a flash memory unit). The SSD memory disk unit further comprises a plurality of host interface units that communicate with a plurality of physical interface units of a device driver (e.g., on a one-to-one or one-to-multiple basis). The device driver also comprises a logical interface coupled to the plurality of physical interface units.

The storage device of a PCI-Express (PCI-e) type supports a low-speed data processing speed for a host by adjusting synchronization of a data signal transmitted/received between the host and a memory disk during data communications between the host and the memory disk through a PCI-Express interface, and simultaneously supports a high-speed data processing speed for the memory disk, thereby supporting the performance of the memory to enable high-speed data processing in an existing interface environment at the maximum. It is understood in advance that although PCI-Express technology will be utilized in a typical embodiment, other alternatives are possible. For example, the present invention could utilize Serial Attached Small Computer System Interface (SAS)/Serial Advanced Technology Advancement (SATA) technology in which a SAS/SATA type storage device is provided that utilizes a SAS/SATA interface

Referring now to FIG. 1, a diagram schematically illustrating a configuration of a PCI-Express type, RAID controlled semiconductor storage device (e.g., for providing storage for a serially attached computer device) according to an embodiment of the invention is shown. As depicted, FIG. 1 shows a RAID controlled PCI-Express type storage device 110 according to an embodiment of the invention which includes a SSD memory disk unit 100 (referred to herein as SSD memory disk unit, SSD, and/or SSD memory disk unit) comprising: a plurality of memory disks having a plurality of volatile semiconductor memories/memory units (also referred to herein as high-speed SSD memory disk units 100); a RAID controller 800 coupled to SSD memory disk units 100; an interface unit 200 (e.g., PCI-Express host) which interfaces between the SSD memory disk unit and a host; a controller unit 300; an auxiliary power source unit 400 that is charged to maintain a predetermined power using the power transferred from the host through the PCI-Express host interface unit; a power source control unit 500 that supplies the power transferred from the host through the PCI-Express host interface unit to the controller unit 300, the SSD memory disk units 100, the backup storage unit, and the backup control unit which, when the power transferred from the host through the PCI-Express host interface unit is blocked or an error occurs in the power transferred from the host, receives power from the auxiliary power source unit and supplies the power to the SSD memory disk unit through the controller unit; a backup storage unit 600A-B that stores data of the SSD memory disk unit; and a backup control unit 700 that backs up data stored in the SSD memory disk unit in the backup storage unit, according to an instruction from the host or when an error occurs in the power transmitted from the host; and a redundant array of independent disks (RAID) controller 800 coupled to SSD memory disk unit 100, controller 300, and internal backup controller 700.

The SSD memory disk unit 100 includes a plurality of memory disks provided with a plurality of volatile semiconductor memories for high-speed data input/output (for example, DDR, DDR2, DDR3, SDRAM, and the like), and inputs and outputs data according to the control of the controller 300. The SSD memory disk unit 100 may have a configuration in which the memory disks are arrayed in parallel.

The PCI-Express host interface unit 200 interfaces between a host and the SSD memory disk unit 100. The host may be a computer system or the like, which is provided with a PCI-Express interface and a power source supply device.

The controller unit 300 adjusts synchronization of data signals transmitted/received between the PCI-Express host interface unit 200 and the SSD memory disk unit 100 to control a data transmission/reception speed between the PCI-Express host interface unit 200 and the SSD memory disk unit 100.

As depicted, a PCI-e type RAID controller 800 can be directly coupled to any quantity of SSD memory disk units 100. Among other things, this allows for optimum control of SSD memory disk units 100. Among other things, the use of a RAID controller 800:

-   -   1. Supports the current backup/restore operations.     -   2. Provides additional and improved backup function by         performing the following:         -   a) the internal backup controller 700 determines the backup             (user's request order or the status monitor detects power             supply problems);         -   b) the internal backup controller 700 requests a data backup             to SSD memory disk units;         -   c) the internal backup controller 700 requests internal             backup device to backup data immediately;         -   d) the internal backup controller 700 monitors the status of             the backup for the SSD memory disk units and internal backup             controller; and         -   e) the internal backup controller 700 reports the internal             backup controller's status and end-op.     -   3. Provides additional and improved restore function by         performing the following:         -   a) the internal backup controller 700 determines the restore             (user's request order or the status monitor detects power             supply problems);         -   b) the internal backup controller 700 requests a data             restore to the SSD memory disk units;         -   c) the internal backup controller 700 requests an internal             backup device to restore data immediately;         -   d) the internal backup controller 700 monitors the status of             the restore for the SSD memory disk units and internal             backup controller; and         -   e) the internal backup controller 700 reports the internal             backup controller status and end-op.

Referring now to FIG. 2A, a high-speed SSD memory disk unit 100 according to an embodiment of the present invention is shown. As depicted, SSD memory disk unit 100 comprises: a plurality of host interface units 308A-N (e.g., PCI-Express host) (which can be similar to interface 200 of FIG. 1, or a separate interface as shown); a host interface controller 310 coupled to host interface units 308A-N, a Direct Memory Access (DMA) controller 302 coupled to host interface controller 310; an ECC controller 304 coupled to DMA controller 302; a memory controller 306 coupled to ECC controller 304 for controlling one or more blocks 604 (e.g., having blank or available storage space 605 of memory array 602 that are used as high-speed storage; asynchronous backup controller 309 for controlling one or more flash memory 608 within flash memory unit 606. Also shown are power controller 311 and internal battery 313 coupled thereto for providing an internal power source. Thus as depicted, multiple data storage architectures are provided hereunder: memory 602 and flash memory 606. Data can be shifted and/or backed up between storages 602 and 606 asynchronously.

Referring now to FIG. 2B, a diagram schematically illustrating a configuration of a high-speed SSD memory disk unit 100 as coupled to a device driver 312 is shown. As depicted, SSD memory disk unit 100 comprises: a plurality of host interface units 308A-N (e.g., PCI-Express host) (which can be similar to interface 200 of FIG. 1, or a separate interface as shown); a host interface controller 310 coupled to host interface units 308A-N, a Direct Memory Access (DMA) controller 302 coupled to host interface controller 310; an ECC controller 304 coupled to DMA controller 302; a memory controller 306 coupled to ECC controller 304 for controlling one or more blocks 604 (e.g., having blank or available storage space 605 of memory array 602 that are used as high-speed storage; asynchronous backup controller 309 for controlling one or more flash memory 608 within flash memory unit 606. Also shown are power controller 311 and internal battery 313 coupled thereto for providing an internal power source. Device driver 312 comprises a set of physical interfaces 316A-N coupled to host interfaces 308A-N, respectively and a logical interface 314.

In general, DMA is a feature of modern computers and microprocessors that allows certain hardware subsystems within the computer to access system memory for reading and/or writing independently of the central processing unit. Many hardware systems use DMA including disk drive controllers, graphics cards, network cards, and sound cards. DMA is also used for intra-chip data transfer in multi-core processors, especially in multiprocessor system-on-chips, where its processing element is equipped with a local memory (often called scratchpad memory) and DMA is used for transferring data between the local memory and the main memory. Computers that have DMA channels can transfer data to and from devices with much less CPU overhead than computers without a DMA channel. Similarly, a processing element inside a multi-core processor can transfer data to and from its local memory without occupying its processor time and allowing computation and data transfer concurrency.

Without DMA, using programmed input/output (PIO) mode for communication with peripheral devices, or load/store instructions in the case of multi-core chips, the CPU is typically fully occupied for the entire duration of the read or write operation, and is thus unavailable to perform other work. With DMA, the CPU would initiate the transfer, do other operations while the transfer is in progress, and receive an interrupt from the DMA controller once the operation has been done. This is especially useful in real-time computing applications where not stalling behind concurrent operations is critical.

Under the approaches shown in FIGS. 2A-B, dynamic storage device configuration is analyzed. Data may be shifted among multiple storage devices with time constraints, battery capacity, data bandwidths, power available, and storage space and capacity required. Moreover, backup rates, devices to be backed up, compression rates, devices-to-store rates, and device I/O statuses can all be adjusted to minimize power consumption.

In one case, asynchronous volatile storage is backed-up to non-volatile storage. In such a scenario, data is asynchronously written to nonvolatile memory from volatile memory. Specifically, a write request may result in an asynchronous write operation of data to nonvolatile storage. A small data space will be utilized to keep track of the “write” record. Asynchronous backup controller 309 monitors I/O requests to backup storage when the system is idle. Power controller 311 then directs the memory controller 306 to “flush” the data and provide power until the “flush” operation completes.

Among other things, the multiple storage device backup approach provided hereunder improves reliability. In addition, a smaller battery capacity is needed for backup in the case of power failure. Still yet, an asynchronous buffer (e.g., flash memory unit 606) sustains I/O performance against I/O requests.

This is in contrast to previous approaches where the backup mechanisms were static and utilized predetermined storage types and shift (backup) directions. Under previous approaches, synchronized data shift was slow and took an extensive amount of time between heterogeneous storage devices. Moreover, the asynchronous copy was subject to data loss and had lower reliability. Further, volatile memory backup to non-volatile memory was: limited by battery capacity when external power loss occurred; required a high-capacity battery; and used limited types of storage for data backup operations.

Referring now to FIG. 3, the controller unit 300 of FIG. 1 is shown as comprising: a memory control module 310 which controls data input/output of the SSD memory disk unit 100; a DMA control module 320 which controls the memory control module 310 to store the data in the SSD memory disk unit 100, or reads data from the SSD memory disk unit 100 to provide the data to the host, according to an instruction from the host received through the PCI-Express host interface unit 200; a buffer 330 which buffers data according to the control of the DMA control module 320; a synchronization control module 340 which, when receiving a data signal corresponding to the data read from the SSD memory disk unit 100 by the control of the DMA control module 320 through the DMA control module 320 and the memory control module 310, adjusts synchronization of a data signal so as to have a communication speed corresponding to a PCI-Express communications protocol to transmit the synchronized data signal to the PCI-Express host interface unit 200, and when receiving a data signal from the host through the PCI-Express host interface unit 200, adjusts synchronization of the data signal so as to have a transmission speed corresponding to a communications protocol (for example, PCI, PCI-x, or PCI-e, and the like) used by the SSD memory disk unit 100 to transmit the synchronized data signal to the SSD memory disk unit 100 through the DMA control module 320 and the memory control module 310; and a high-speed interface module 350 which processes the data transmitted/received between the synchronization control module 340 and the DMA control module 320 at high speed. Here, the high-speed interface module 350 includes a buffer having a double buffer structure and a buffer having a circular queue structure, and processes the data transmitted/received between the synchronization control module 340 and the DMA control module 320 without loss at high speed by buffering the data and adjusting data clocks.

Referring back to FIG. 1, auxiliary power source unit 400 may be configured as a rechargeable battery or the like, so that it is normally charged to maintain a predetermined power using power transferred from the host through the PCI-Express host interface unit 200 and supplies the charged power to the power source control unit 500 according to the control of the power source control unit 500.

The power source control unit 500 supplies the power transferred from the host through the PCI-Express host interface unit 200 to the controller unit 300, the SSD memory disk unit 100, the backup storage unit 600A-B, and the backup control unit 700.

In addition, when an error occurs in a power source of the host because the power transmitted from the host through the PCI-Express host interface unit 200 is blocked, or the power transmitted from the host deviates from a threshold value, the power source control unit 500 receives power from the auxiliary power source unit 400 and supplies the power to the SSD memory disk unit 100 through the controller unit 300.

The backup storage unit 600A-B is configured as a low-speed non-volatile storage device such as a hard disk and stores data of the SSD memory disk unit 100.

The backup control unit 700 backs up data stored in the SSD memory disk unit 100 in the backup storage unit 600A-B by controlling the data input/output of the backup storage unit 600A-B and backs up the data stored in the SSD memory disk unit 100 in the backup storage unit 600A-B according to an instruction from the host, or when an error occurs in the power source of the host due to a deviation of the power transmitted from the host deviates from the threshold value.

The storage device of a serial-attached small computer system interface/serial advanced technology attachment (PCI-Express) type supports a low-speed data processing speed for a host by adjusting synchronization of a data signal transmitted/received between the host and a memory disk during data communications between the host and the memory disk through a PCI-Express interface, and simultaneously supports a high-speed data processing speed for the memory disk, thereby supporting the performance of the memory to enable high-speed data processing in an existing interface environment at the maximum.

While the exemplary embodiments have been shown and described, it will be understood by those skilled in the art that various changes in form and details may be made thereto without departing from the spirit and scope of this disclosure as defined by the appended claims. In addition, many modifications can be made to adapt a particular situation or material to the teachings of this disclosure without departing from the essential scope thereof. Therefore, it is intended that this disclosure not be limited to the particular exemplary embodiments disclosed as the best mode contemplated for carrying out this disclosure, but that this disclosure will include all embodiments falling within the scope of the appended claims.

The foregoing description of various aspects of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed and, obviously, many modifications and variations are possible. Such modifications and variations that may be apparent to a person skilled in the art are intended to be included within the scope of the invention as defined by the accompanying claims. 

What is claimed is:
 1. A semiconductor storage device (SSD) memory disk unit, comprising: a host interface controller; a plurality of host interface units coupled to the host interface controller; a DMA controller coupled to the host interface unit; an ECC controller coupled to the DMA controller; a memory controller coupled to the ECC controller; an asynchronous backup controller coupled to the memory controller; and a memory array coupled to the memory controller, the memory array comprising at least one memory block.
 2. The SSD memory disk unit of claim 1, further comprising a device driver coupled to the SSD memory disk unit.
 3. The SSD memory disk unit of claim 2, the device driver comprising: a plurality of physical interface units; and a logical interface coupled to the plurality of physical interface units.
 4. The SSD memory disk unit of claim 3, the plurality of host interface units comprising a first host interface unit and a second host interface unit, and the plurality of physical interface units comprising a first physical interface unit and a second physical interface unit.
 5. The SSD memory disk unit of claim 4, wherein the first host interface unit communicates with the first physical interface unit, and the second host interface unit communicates with the second physical interface unit.
 6. The SSD memory disk unit of claim 1, further comprising: a power controller; and an internal battery coupled to the power controller for providing power to the SD memory disk unit.
 7. The SSD memory disk unit of claim 1, further comprising: a flash memory unit comprising a set of flash memory blocks coupled to the asynchronous backup controller, the asynchronous backup controller providing backup for data between the memory array and the flash memory unit.
 8. The SSD memory disk unit of claim 1, the memory array being volatile, and the plurality of host interface units being PCI-Express host interface units.
 9. A semiconductor storage device (SSD)-based system, comprising: a SSD memory disk unit comprising: a host interface controller; a plurality of host interface units coupled to the host interface controller; a DMA controller coupled to the host interface unit; an ECC controller coupled to the DMA controller; a memory controller coupled to the ECC controller; a memory array coupled to the memory controller, the memory array comprising at least one memory block; an asynchronous backup controller coupled to the memory controller; a flash memory unit coupled to the asynchronous backup controller, the flash memory unit comprising at least one flash memory block; a device driver comprising: a plurality of physical interface units; and a logical interface coupled to the plurality of physical interface units.
 10. The SSD-based system of claim 9, the plurality of host interface units comprising a first host interface unit and a second host interface unit, and the plurality of physical interface units comprising a first physical interface unit and a second physical interface unit.
 11. The SSD-based system of claim 10, wherein the first host interface unit communicates with the first physical interface unit, and the second host interface unit communicates with the second physical interface unit.
 12. The SSD-based system of claim 9, further comprising: a backup storage unit which stores data of the SSD memory disk unit; and a backup control unit which backs up data stored in the SSD memory disk unit in the backup storage unit, according to an instruction from a host or when an error occurs in the power transmitted from the host.
 13. The SSD-based system of claim 12, further comprising: a power controller; and an internal battery coupled to the power controller for providing power to the SD memory disk unit.
 14. The SSD-based system unit of claim 9, the memory array being volatile, and the plurality of host interface units being PCI-Express host interface units.
 15. A method for forming a semiconductor storage device (SSD) memory disk unit, comprising: coupling a plurality of host interface units to a host interface controller; coupling a DMA controller to the host interface unit; coupling an ECC controller to the DMA controller; coupling a memory controller to the ECC controller; coupling an asynchronous backup controller to the memory controller; and coupling a memory array to the memory controller, the memory array comprising at least one memory block.
 16. The method of claim 15, further comprising coupling a device driver to the SSD memory disk unit.
 17. The method of claim 16, further comprising forming the device driver by coupling a logical interface to a plurality of physical interface units.
 18. The method of claim 17, the plurality of host interface units comprising a first host interface unit and a second host interface unit, and the plurality of physical interface units comprising a first physical interface unit and a second physical interface unit.
 19. The method of claim 15, further comprising: coupling a flash memory unit comprising a set of flash memory blocks to the asynchronous backup controller, the asynchronous backup controller providing backup for data between the memory array and the flash memory unit.
 20. The method unit of claim 15, the memory array being volatile, and the plurality of host interface units being PCI-Express host interface units. 